package cn.summit.passwordsty;

import java.nio.charset.StandardCharsets;
import java.util.Base64;

/**
 * @author summit
 * @since 2021/8/14 16:57
 */
public class Base64Test {

	public static void main(String[] args) {
		byte[] encode = Base64.getEncoder().encode("aa".getBytes(StandardCharsets.UTF_8));
		System.out.println(new String(encode));
	}
}
